package com.heitian.ssm.service;

import com.heitian.ssm.model.BathManagerEntity;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: mishuai
 * Date: 2018-04-25
 * Time: 12:39
 * Des:
 */
public interface BathManagerService {

    /**
     * 查询所有澡位
     * @return
     */
    List<BathManagerEntity> bathManagerAll();

    /**
     * 根据澡位id回显到表单，并做修改
     * @param bathId
     * @return
     */
    BathManagerEntity selectByBathId(String bathId);

    /**
     * 根据澡位id更新澡位状态
     * @param bathId,status
     * @return
     */
    int updateByPrimaryKey(String bathId,String status);
}
